﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RussiaLibrary
{
    class Square : Class_Polygon
    {
        public override bool Init(byte[,] Bytes_TetrisByte) //重写初始化方形方块的方法；
        {
            State = (int)Polygon_Chang.N_CHANG;
            bool ret = false;
            ret = InitBase(Bytes_TetrisByte,new KeyValuePair<int,int>(0,4),new KeyValuePair<int,int>(0,5),
                new KeyValuePair<int, int>(1, 4), new KeyValuePair<int, int>(1, 5));//理解：KeyValuePair<int,int>是一种引用类型，类似于int；
           return true; 
        }
    }
}
